refactor: Remove debouncing from title input and fix links#4162
Merged
ComputelessComputer merged 3 commits intomainfrom Feb 23, 2026
Merged
refactor: Remove debouncing from title input and fix links#4162ComputelessComputer merged 3 commits intomainfrom
ComputelessComputer merged 3 commits intomainfrom
Conversation
✅ Deploy Preview for hyprnote ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for hyprnote-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
f2bc419 to
1b429df
Compare
Remove custom debouncing implementation with refs and timeouts. Replace with immediate store updates on blur event using localTitle state. Simplifies title persistence logic by removing debouncedPersist and flushDebounce functions.
Implement real-time title synchronization using Zustand store to show immediate title changes across the UI while user types. Create useLiveTitle store with setTitle/clearTitle actions and useSessionTitle hook for consistent title resolution. Integrate live title updates in TitleInput onChange and clear on blur/enter. Update timeline items and folder components to display live titles. Minor UI improvement to toast button styling with shadow and color.
Display "Untitled" placeholder when timeline item has no title to improve user experience and prevent empty list items from appearing in the sidebar.
1b429df to
e21fe74
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove debounced persistence in title input component to simplify state management and persist title directly on blur. Restructure link click handler to exit early when link mark is not found and ensure proper event handling for keyboard shortcuts.